﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using JXT.PrimaryKey.Batman.Core.WcfService;
using JXT.PrimaryKey.Batman.Core.Security;

namespace JXT.PrimaryKey.Batman.WcfService.Models.Quotation
{
    /// <summary>
    /// 证券类型
    /// </summary>
    [Flags]
    [DataContract(Namespace = ServiceEnvironment.ModelNamespace)]
    public enum SecuritiesType
    {
        /// <summary>
        /// 未知
        /// </summary>
        [EnumMember(Value = "0")]
        UNKNOWN=0x00,
        /// <summary>
        /// 股票
        /// </summary>
        [EnumMember(Value = "1")]
        Stock=0x01,
        /// <summary>
        /// 指数
        /// </summary>
        [EnumMember(Value = "2")]
        Index=0x02,
        /// <summary>
        /// 基金
        /// </summary>
        [EnumMember(Value = "3")]
        Fund=0x04
    }
}
